home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 65.zip / BS1 part 65 / DevPac v3.02b.adf / include / exec / ports.i < prev    next >
Text File  |  1991-11-20  |  1KB  |  65 lines

  1.     IFND    EXEC_PORTS_I
  2. EXEC_PORTS_I    SET    1
  3. **
  4. **    $Filename: exec/ports.i $
  5. **    $Release: 1.3 $
  6. **
  7. **    
  8. **
  9. **    (C) Copyright 1985,1986,1987,1988 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. **
  12.  
  13.     IFND EXEC_NODES_I
  14.     INCLUDE "exec/nodes.i"
  15.     ENDC    ; EXEC_NODES_I
  16.  
  17.     IFND EXEC_LISTS_I
  18.     INCLUDE "exec/lists.i"
  19.     ENDC    ; EXEC_LISTS_I
  20.  
  21.  
  22. *----------------------------------------------------------------
  23. *
  24. *   Message Port Structure
  25. *
  26. *----------------------------------------------------------------
  27.  
  28.  STRUCTURE  MP,LN_SIZE
  29.     UBYTE   MP_FLAGS
  30.     UBYTE   MP_SIGBIT            * signal bit number
  31.     APTR    MP_SIGTASK            * task to be signalled
  32.     STRUCT  MP_MSGLIST,LH_SIZE        * message linked list
  33.     LABEL   MP_SIZE
  34.  
  35.  
  36. *------ unions:
  37.  
  38. MP_SOFTINT    EQU  MP_SIGTASK
  39.  
  40.  
  41. *------ flags fields:
  42.  
  43. PF_ACTION    EQU  3
  44.  
  45.  
  46. *------ PutMsg actions:
  47.  
  48. PA_SIGNAL    EQU  0
  49. PA_SOFTINT    EQU  1
  50. PA_IGNORE    EQU  2
  51.  
  52.  
  53. *----------------------------------------------------------------
  54. *
  55. *   Message Structure
  56. *
  57. *----------------------------------------------------------------
  58.  
  59.  STRUCTURE  MN,LN_SIZE
  60.     APTR    MN_REPLYPORT        * message reply port
  61.     UWORD   MN_LENGTH            * message len in bytes
  62.     LABEL   MN_SIZE
  63.  
  64.     ENDC    ; EXEC_PORTS_I
  65.